<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>NSDate(TFCore) Category Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">TFFoundation </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">“Timeface”</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	
	<optgroup label="Properties">
		
		<option value="//api/name/tf_day">tf_day</option>
		
		<option value="//api/name/tf_hour">tf_hour</option>
		
		<option value="//api/name/tf_isLeapMonth">tf_isLeapMonth</option>
		
		<option value="//api/name/tf_isLeapYear">tf_isLeapYear</option>
		
		<option value="//api/name/tf_isToday">tf_isToday</option>
		
		<option value="//api/name/tf_isYesterday">tf_isYesterday</option>
		
		<option value="//api/name/tf_minute">tf_minute</option>
		
		<option value="//api/name/tf_month">tf_month</option>
		
		<option value="//api/name/tf_second">tf_second</option>
		
		<option value="//api/name/tf_weekday">tf_weekday</option>
		
		<option value="//api/name/tf_year">tf_year</option>
		
	</optgroup>
	

	
	<optgroup label="Class Methods">
		
		<option value="//api/name/tf_dateWithDateString:format:">+ tf_dateWithDateString:format:</option>
		
	</optgroup>
	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/tf_componentWithCalendarUnit:">- tf_componentWithCalendarUnit:</option>
		
		<option value="//api/name/tf_dateByAddingDay:">- tf_dateByAddingDay:</option>
		
		<option value="//api/name/tf_dateByAddingHour:">- tf_dateByAddingHour:</option>
		
		<option value="//api/name/tf_dateByAddingMinute:">- tf_dateByAddingMinute:</option>
		
		<option value="//api/name/tf_dateByAddingMonth:">- tf_dateByAddingMonth:</option>
		
		<option value="//api/name/tf_dateByAddingSecond:">- tf_dateByAddingSecond:</option>
		
		<option value="//api/name/tf_dateByAddingYear:">- tf_dateByAddingYear:</option>
		
		<option value="//api/name/tf_dateChineseYMDFormatString">- tf_dateChineseYMDFormatString</option>
		
		<option value="//api/name/tf_dateISOFormatString">- tf_dateISOFormatString</option>
		
		<option value="//api/name/tf_dateStringWithFormat:">- tf_dateStringWithFormat:</option>
		
		<option value="//api/name/tf_dateYMDFormatString">- tf_dateYMDFormatString</option>
		
		<option value="//api/name/tf_dateYMDHMFormatString">- tf_dateYMDHMFormatString</option>
		
		<option value="//api/name/tf_daysCompareToDate:">- tf_daysCompareToDate:</option>
		
		<option value="//api/name/tf_endDateOfDay">- tf_endDateOfDay</option>
		
		<option value="//api/name/tf_endDateOfMonth">- tf_endDateOfMonth</option>
		
		<option value="//api/name/tf_endDateOfWeek">- tf_endDateOfWeek</option>
		
		<option value="//api/name/tf_endDateOfYear">- tf_endDateOfYear</option>
		
		<option value="//api/name/tf_hoursCompareToDate:">- tf_hoursCompareToDate:</option>
		
		<option value="//api/name/tf_minutesCompareToDate:">- tf_minutesCompareToDate:</option>
		
		<option value="//api/name/tf_monthsCompareToDate:">- tf_monthsCompareToDate:</option>
		
		<option value="//api/name/tf_startDateOfDay">- tf_startDateOfDay</option>
		
		<option value="//api/name/tf_startDateOfMonth">- tf_startDateOfMonth</option>
		
		<option value="//api/name/tf_startDateOfWeek">- tf_startDateOfWeek</option>
		
		<option value="//api/name/tf_startDateOfYear">- tf_startDateOfYear</option>
		
		<option value="//api/name/tf_timeString">- tf_timeString</option>
		
		<option value="//api/name/tf_yearsCompareToDate:">- tf_yearsCompareToDate:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">NSDate(TFCore) Category Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Declared in</th>
	<td>NSDate+TFCore.h<br />NSDate+TFCore.m</td>
</tr>
						</tbody></table></div>
					

                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>NSDate常用的类别</p>
					</div>
					
					

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						<a title="常见日期处理和获取" name="task_常见日期处理和获取"></a>
						
<h2 class="task-title">常见日期处理和获取</h2>
						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/tf_year" title="tf_year"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_year">&nbsp;&nbsp;tf_year</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>年份</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) NSInteger tf_year</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>年份</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_month" title="tf_month"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_month">&nbsp;&nbsp;tf_month</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>月份</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) NSInteger tf_month</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>月份</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_day" title="tf_day"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_day">&nbsp;&nbsp;tf_day</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>日</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) NSInteger tf_day</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>日</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_hour" title="tf_hour"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_hour">&nbsp;&nbsp;tf_hour</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>小时</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) NSInteger tf_hour</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>小时</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_minute" title="tf_minute"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_minute">&nbsp;&nbsp;tf_minute</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>分钟</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) NSInteger tf_minute</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>分钟</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_second" title="tf_second"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_second">&nbsp;&nbsp;tf_second</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>秒数</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) NSInteger tf_second</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>秒数</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_weekday" title="tf_weekday"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_weekday">&nbsp;&nbsp;tf_weekday</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>周几</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) NSInteger tf_weekday</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>周几</p><div class="warning"><p><strong>Warning:</strong> 一周的开始从周日开始，即周日为1，周一为2，以此类推。</p></div>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_isLeapYear" title="tf_isLeapYear"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_isLeapYear">&nbsp;&nbsp;tf_isLeapYear</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>是否闰年</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) BOOL tf_isLeapYear</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>是否闰年</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_isLeapMonth" title="tf_isLeapMonth"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_isLeapMonth">&nbsp;&nbsp;tf_isLeapMonth</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>是否闰月</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) BOOL tf_isLeapMonth</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>是否闰月</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_isToday" title="tf_isToday"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_isToday">&nbsp;&nbsp;tf_isToday</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>是否今天</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) BOOL tf_isToday</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>是否今天</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_isYesterday" title="tf_isYesterday"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_isYesterday">&nbsp;&nbsp;tf_isYesterday</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>是否昨天</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) BOOL tf_isYesterday</code></div>

		    
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>是否昨天</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_componentWithCalendarUnit:" title="tf_componentWithCalendarUnit:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_componentWithCalendarUnit:">&ndash;&nbsp;tf_componentWithCalendarUnit:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取日期中的元素的值，比如年月日等</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSInteger)tf_componentWithCalendarUnit:(NSCalendarUnit)<em>unit</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>unit</code></th>
						<td><p>单元类型</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSInteger</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取日期中的元素的值，比如年月日等</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_startDateOfDay" title="tf_startDateOfDay"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_startDateOfDay">&ndash;&nbsp;tf_startDateOfDay</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>一天开始的日期</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSDate *)tf_startDateOfDay</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>一天开始的日期</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_endDateOfDay" title="tf_endDateOfDay"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_endDateOfDay">&ndash;&nbsp;tf_endDateOfDay</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>一天的结束日期</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSDate *)tf_endDateOfDay</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate.</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>一天的结束日期</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_startDateOfWeek" title="tf_startDateOfWeek"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_startDateOfWeek">&ndash;&nbsp;tf_startDateOfWeek</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>一周的起始日期</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSDate *)tf_startDateOfWeek</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate.</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>一周的起始日期</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_endDateOfWeek" title="tf_endDateOfWeek"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_endDateOfWeek">&ndash;&nbsp;tf_endDateOfWeek</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>一周的结束日期</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSDate *)tf_endDateOfWeek</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate.</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>一周的结束日期</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_startDateOfMonth" title="tf_startDateOfMonth"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_startDateOfMonth">&ndash;&nbsp;tf_startDateOfMonth</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>一月的起始日期</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSDate *)tf_startDateOfMonth</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate.</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>一月的起始日期</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_endDateOfMonth" title="tf_endDateOfMonth"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_endDateOfMonth">&ndash;&nbsp;tf_endDateOfMonth</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>一月的结束日期</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSDate *)tf_endDateOfMonth</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate.</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>一月的结束日期</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_startDateOfYear" title="tf_startDateOfYear"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_startDateOfYear">&ndash;&nbsp;tf_startDateOfYear</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>一年的起始日期</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSDate *)tf_startDateOfYear</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate.</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>一年的起始日期</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_endDateOfYear" title="tf_endDateOfYear"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_endDateOfYear">&ndash;&nbsp;tf_endDateOfYear</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>一年的结束日期</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSDate *)tf_endDateOfYear</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate.</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>一年的结束日期</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_dateByAddingYear:" title="tf_dateByAddingYear:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_dateByAddingYear:">&ndash;&nbsp;tf_dateByAddingYear:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据当前日期通过添加年数获取新的日期</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSDate *)tf_dateByAddingYear:(NSInteger)<em>year</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>year</code></th>
						<td><p>添加的year数,若为负数则为减少</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据当前日期通过添加年数获取新的日期</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_dateByAddingMonth:" title="tf_dateByAddingMonth:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_dateByAddingMonth:">&ndash;&nbsp;tf_dateByAddingMonth:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据当前日期通过添加月数获取新的日期</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSDate *)tf_dateByAddingMonth:(NSInteger)<em>month</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>month</code></th>
						<td><p>添加的月数，若为负数则减少</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据当前日期通过添加月数获取新的日期</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_dateByAddingDay:" title="tf_dateByAddingDay:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_dateByAddingDay:">&ndash;&nbsp;tf_dateByAddingDay:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据当前日期通过添加天数获取新的日期</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSDate *)tf_dateByAddingDay:(NSInteger)<em>day</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>day</code></th>
						<td><p>添加的天数，若为负数则减小</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据当前日期通过添加天数获取新的日期</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_dateByAddingHour:" title="tf_dateByAddingHour:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_dateByAddingHour:">&ndash;&nbsp;tf_dateByAddingHour:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据当前日期通过添加小时数获取新的日期</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSDate *)tf_dateByAddingHour:(NSInteger)<em>hour</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>hour</code></th>
						<td><p>添加的小时数，若为负数则减小</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据当前日期通过添加小时数获取新的日期</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_dateByAddingMinute:" title="tf_dateByAddingMinute:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_dateByAddingMinute:">&ndash;&nbsp;tf_dateByAddingMinute:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据当前日期通过添加分钟数获取新的日期</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSDate *)tf_dateByAddingMinute:(NSInteger)<em>minute</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>minute</code></th>
						<td><p>添加的分钟数，若为负数则减小</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据当前日期通过添加分钟数获取新的日期</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_dateByAddingSecond:" title="tf_dateByAddingSecond:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_dateByAddingSecond:">&ndash;&nbsp;tf_dateByAddingSecond:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据当前日期通过添加秒数获取新的日期</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSDate *)tf_dateByAddingSecond:(NSInteger)<em>second</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>second</code></th>
						<td><p>添加的秒数，若为负数则减小</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据当前日期通过添加秒数获取新的日期</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_yearsCompareToDate:" title="tf_yearsCompareToDate:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_yearsCompareToDate:">&ndash;&nbsp;tf_yearsCompareToDate:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>两个日期间相隔多少年</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSInteger)tf_yearsCompareToDate:(nonnull NSDate *)<em>date</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>date</code></th>
						<td><p>比较的日期</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSInteger，若为负数，则在为之前的日期，若为正数则在这之后的日期.</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>两个日期间相隔多少年</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_monthsCompareToDate:" title="tf_monthsCompareToDate:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_monthsCompareToDate:">&ndash;&nbsp;tf_monthsCompareToDate:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>两个日期间相隔多少个月</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSInteger)tf_monthsCompareToDate:(nonnull NSDate *)<em>date</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>date</code></th>
						<td><p>比较的日期</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSInteger，若为负数，则在为之前的日期，若为正数则在这之后的日期.</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>两个日期间相隔多少个月</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_daysCompareToDate:" title="tf_daysCompareToDate:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_daysCompareToDate:">&ndash;&nbsp;tf_daysCompareToDate:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>两个日期间相隔多少天</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSInteger)tf_daysCompareToDate:(nonnull NSDate *)<em>date</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>date</code></th>
						<td><p>比较的日期</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSInteger，若为负数，则在为之前的日期，若为正数则在这之后的日期.</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>两个日期间相隔多少天</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_hoursCompareToDate:" title="tf_hoursCompareToDate:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_hoursCompareToDate:">&ndash;&nbsp;tf_hoursCompareToDate:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>两个日期间相隔多少小时</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSInteger)tf_hoursCompareToDate:(nonnull NSDate *)<em>date</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>date</code></th>
						<td><p>比较的日期</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSInteger，若为负数，则在为之前的日期，若为正数则在这之后的日期.</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>两个日期间相隔多少小时</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_minutesCompareToDate:" title="tf_minutesCompareToDate:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_minutesCompareToDate:">&ndash;&nbsp;tf_minutesCompareToDate:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>两个日期间相隔多少分钟</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSInteger)tf_minutesCompareToDate:(nonnull NSDate *)<em>date</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>date</code></th>
						<td><p>比较的日期</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSInteger，若为负数，则在为之前的日期，若为正数则在这之后的日期.</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>两个日期间相隔多少分钟</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_dateStringWithFormat:" title="tf_dateStringWithFormat:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_dateStringWithFormat:">&ndash;&nbsp;tf_dateStringWithFormat:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据格式化字符串获取对应的日期字符串</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSString *)tf_dateStringWithFormat:(nonnull NSString *)<em>format</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>format</code></th>
						<td><p>格式化字符串,列：日期为：2017.03.13 22:22,根据格式化字符串：“年:yyyy,月:MM,MMM,MMMM,日:d,dd,星期:EEE,EEEE,小时:hh,h,HH,H,分钟:mm”进行格式化结果如下</p>

<blockquote><blockquote><p>美国：年:2017,月:03,Mar,March,日:13,13,星期:Mon,Monday,小时:10,10,22,22,分钟:22</p>

<p>中国：年:2017,月:03,3月,三月,日:13,13,星期:周一,星期一,小时:10,10,22,22,分钟:22</p></blockquote></blockquote></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSString</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据格式化字符串获取对应的日期字符串</p>
			</div>
			

			

			
			<div class="method-subsection see-also-section">
				<h4 class="method-subtitle">See Also</h4>
				<ul>
					
					<li><code><p>格式化字符串格式请看：<a href="http://www.jianshu.com/p/e1e83dd9241b">http://www.jianshu.com/p/e1e83dd9241b</a></p></code></li>
					
				</ul>
			</div>
			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_dateISOFormatString" title="tf_dateISOFormatString"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_dateISOFormatString">&ndash;&nbsp;tf_dateISOFormatString</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取ISO：yyyy-MM-dd HH:mm:ss格式化对应的字符串</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSString *)tf_dateISOFormatString</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSString</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取ISO：yyyy-MM-dd HH:mm:ss格式化对应的字符串</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_dateYMDHMFormatString" title="tf_dateYMDHMFormatString"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_dateYMDHMFormatString">&ndash;&nbsp;tf_dateYMDHMFormatString</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取yyyy-MM-dd HH:mm对应的格式化字符串</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSString *)tf_dateYMDHMFormatString</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSString</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取yyyy-MM-dd HH:mm对应的格式化字符串</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_dateYMDFormatString" title="tf_dateYMDFormatString"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_dateYMDFormatString">&ndash;&nbsp;tf_dateYMDFormatString</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取yyyy-MM-dd格式化对应的日期字符串</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSString *)tf_dateYMDFormatString</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSString</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取yyyy-MM-dd格式化对应的日期字符串</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_dateChineseYMDFormatString" title="tf_dateChineseYMDFormatString"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_dateChineseYMDFormatString">&ndash;&nbsp;tf_dateChineseYMDFormatString</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取yyyy年 MMM dd日格式化对应的字符串</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSString *)tf_dateChineseYMDFormatString</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSString</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取yyyy年 MMM dd日格式化对应的字符串</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_dateWithDateString:format:" title="tf_dateWithDateString:format:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_dateWithDateString:format:">+&nbsp;tf_dateWithDateString:format:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据日期和格式化字符串获取NSDate</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (nonnull NSDate *)tf_dateWithDateString:(nonnull NSString *)<em>dateString</em> format:(nonnull NSString *)<em>format</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>dateString</code></th>
						<td><p>日期字符串36</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>format</code></th>
						<td><p>格式化字符串</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSDate</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据日期和格式化字符串获取NSDate</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_timeString" title="tf_timeString"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_timeString">&ndash;&nbsp;tf_timeString</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取对应的时间描述日期字符串：x分钟前/x小时前/昨天/x天前/x个月前/x年前</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull NSString *)tf_timeString</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>NSString</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取对应的时间描述日期字符串：x分钟前/x小时前/昨天/x天前/x个月前/x年前</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSDate+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2017 “Timeface”. All rights reserved. Updated: 2017-08-17</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>